#pragma once
#include <opencv2/core.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/highgui.hpp>

using namespace cv;
using namespace std;

class Gray2Bit
{
public:
	Gray2Bit();
	~Gray2Bit();

	Mat DoGray2Bit(Mat image, int threshold, bool isReverse);
};

